home
***
CD-ROM
|
disk
|
FTP
|
other
***
search
/
User's Choice Windows CD
/
User's Choice Windows CD (CMS Software)(1993).iso
/
utility2
/
wsmooth.zip
/
WSMSRC.ZIP
/
WSMOOTH.RC
< prev
next >
Wrap
Text File
|
1990-10-05
|
4KB
|
79 lines
#include "windows.h"
#include "wsmooth.h"
FILEMENU MENU
BEGIN
POPUP "&File"
BEGIN
MENUITEM "&Open...", IDM_OPEN
MENUITEM "&Settings...", IDM_SETTINGS
MENUITEM SEPARATOR
MENUITEM "E&xit", IDM_EXIT
MENUITEM SEPARATOR
MENUITEM "&About WinSmooth...", IDM_ABOUT
END
END
OPEN DIALOG LOADONCALL MOVEABLE DISCARDABLE 10, 10, 148, 112
CAPTION "Open File"
STYLE WS_BORDER | WS_CAPTION | WS_DLGFRAME | WS_SYSMENU | DS_MODALFRAME
BEGIN
CONTROL "Open File &Name:", IDC_FILENAME, "static", SS_LEFT | WS_GROUP | WS_CHILD, 4, 4, 60, 10
CONTROL "", IDC_EDIT, "edit", ES_LEFT | ES_AUTOHSCROLL | WS_BORDER | WS_TABSTOP | WS_CHILD, 4, 16, 100, 12
CONTROL "&Files in", IDC_FILES, "static", SS_LEFT | WS_GROUP | WS_CHILD, 4, 40, 32, 10
CONTROL "", IDC_LISTBOX, "listbox", LBS_SORT | LBS_NOTIFY | WS_BORDER | WS_VSCROLL | WS_TABSTOP | WS_CHILD, 4, 52, 70, 56
CONTROL "", IDC_PATH, "static", SS_LEFT | WS_GROUP | WS_CHILD, 40, 40, 100, 10
CONTROL "&Open", IDOK, "button", BS_DEFPUSHBUTTON | WS_TABSTOP | WS_CHILD, 87, 60, 50, 14
CONTROL "Cancel", IDCANCEL, "button", BS_PUSHBUTTON | WS_TABSTOP | WS_CHILD, 87, 80, 50, 14
END
ABOUTBOX DIALOG LOADONCALL MOVEABLE DISCARDABLE 22, 17, 144, 80
CAPTION "About WinSmooth"
STYLE WS_BORDER | WS_CAPTION | WS_DLGFRAME | WS_SYSMENU | DS_MODALFRAME
BEGIN
CONTROL "WinSmooth, v.1.c", -1, "static", SS_CENTER | WS_GROUP | WS_CHILD, 0, 5, 144, 8
ICON "WSMOOTH", -1, 61, 20, 0, 0
CONTROL "by Richard Hale Shaw", -1, "static", SS_CENTER | WS_GROUP | WS_CHILD, 0, 44, 144, 8
CONTROL "(c) 1990, Ziff-Davis Publishing Co.", -1, "static", SS_CENTER | WS_GROUP | WS_CHILD, 0, 54, 144, 8
CONTROL "OK", IDOK, "button", BS_DEFPUSHBUTTON | WS_GROUP | WS_TABSTOP | WS_CHILD, 53, 64, 32, 14
END
SETTINGS DIALOG LOADONCALL MOVEABLE DISCARDABLE 82, 14, 167, 163
CAPTION "WinSmooth Settings"
STYLE WS_BORDER | WS_CAPTION | WS_DLGFRAME | WS_POPUP
BEGIN
CONTROL "Scrolling Rate (in milliseconds)", 355, "static", SS_RIGHT | WS_CHILD, 5, 8, 109, 11
CONTROL "", IDC_SB_SRATE, "scrollbar", SBS_VERT | WS_CHILD, 117, 3, 12, 19
CONTROL " 100", IDC_EB_SRATE, "edit", ES_LEFT | WS_TABSTOP | WS_CHILD, 134, 9, 19, 8
CONTROL "Number of Pixel Rows Scrolled", 356, "static", SS_LEFT | WS_CHILD, 12, 30, 103, 8
CONTROL "", IDC_SB_PIXROWS, "scrollbar", SBS_VERT | WS_CHILD, 117, 25, 12, 19
CONTROL "1", IDC_EB_PIXROWS, "edit", ES_LEFT | WS_TABSTOP | WS_CHILD, 144, 30, 10, 9
CONTROL "", IDC_SB_RED, "scrollbar", SBS_HORZ | WS_CHILD, 47, 57, 104, 9
CONTROL "", IDC_SB_GREEN, "scrollbar", SBS_HORZ | WS_CHILD, 47, 68, 104, 9
CONTROL "", IDC_SB_BLUE, "scrollbar", SBS_HORZ | WS_CHILD, 47, 79, 104, 9
CONTROL "", 309, "static", SS_BLACKFRAME | WS_CHILD, 38, 108, 103, 10
CONTROL "Scrolling text will look like this.", IDC_EB_COLOR, "static", SS_LEFT | WS_CHILD, 39, 109, 101, 8
CONTROL "", 319, "static", SS_BLACKFRAME | WS_CHILD, 133, 7, 25, 11
CONTROL "", 320, "static", SS_BLACKFRAME | WS_CHILD, 143, 29, 13, 12
CONTROL "Text Color Control", 118, "button", BS_GROUPBOX | WS_CHILD, 6, 46, 155, 80
CONTROL "Foreground", IDC_RB_FG, "button", BS_RADIOBUTTON | WS_TABSTOP | WS_CHILD, 28, 93, 52, 12
CONTROL "Background", IDC_RB_BG, "button", BS_RADIOBUTTON | WS_TABSTOP | WS_CHILD, 100, 94, 47, 12
CONTROL "Red", 120, "static", SS_RIGHT | WS_CHILD, 19, 56, 16, 8
CONTROL "Green", 121, "static", SS_RIGHT | WS_CHILD, 13, 67, 22, 8
CONTROL "Blue", 122, "static", SS_RIGHT | WS_CHILD, 19, 78, 16, 8
CONTROL "Strip Text High Bits (for WordStar Files)", IDC_CB_STRIP, "button", BS_AUTOCHECKBOX | WS_TABSTOP | WS_CHILD, 12, 130, 140, 10
CONTROL "OK", IDOK, "button", BS_DEFPUSHBUTTON | WS_TABSTOP | WS_CHILD, 4, 144, 49, 14
CONTROL "Cancel", IDCANCEL, "button", BS_PUSHBUTTON | WS_TABSTOP | WS_CHILD, 57, 144, 49, 14
CONTROL "Save Settings", IDC_BU_SAVE, "button", BS_PUSHBUTTON | WS_TABSTOP | WS_CHILD, 110, 144, 49, 14
END
WSMOOTH ICON WSMOOTH.ICO